package com.ctgu.fastleader.dao;

import com.ctgu.fastleader.vo.GoodsSeat;
import com.ctgu.fastleader.vo.GoodsSeatKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface GoodsSeatMapper {
    int deleteByPrimaryKey(GoodsSeatKey key);

    int insert(GoodsSeat record);

    int insertSelective(GoodsSeat record);

    GoodsSeat selectByPrimaryKey(GoodsSeatKey key);

    int updateByPrimaryKeySelective(GoodsSeat record);

    int updateByPrimaryKey(GoodsSeat record);

    List<GoodsSeat> findAllGoodsInSeat(Integer goodsid);

    List<GoodsSeat> findAllRecordByShelfIdAndHouseId(String shelfid, Integer houseid);

}